package com.bwie.vo;

/**
 * @description : 商品状态枚举
 * @Author QiHainan
 * @Create 2025/3/31 15:04
 * @Version 1.0
 */
public enum ProdEnum {

    //定义常量
    WAIT(0,"草稿"),
    WAIT_CHECK(1,"待审核"),
    ONLINE(2,"上架"),
    NOT_OK(3,"驳回"),
    OFFLINE(4,"下架");

    private Integer code;
    private String name;

    private ProdEnum(Integer code, String name){
        this.code = code;
        this.name = name;
    }

    public Integer getCode(){
        return code;
    }

    public String getName(){
        return name;
    }
}
